import { post, get } from "../utils/request";

// 获取气泡信息
export function requestHasAssistantBubble(data) {
  return post("/embed/hasAssistantBubble", { data: data });
}

// 获取模型
export function requstModels() {
  return get(`/embed/models`);
}

// 获取缓存信息
export function requstConversationsMsg(params) {
  return get(`/embed/conversations/1/messages`, { params });
}

// 发送信息
export function requestSendMsg(data) {
  return post(`/embed/conversations/1/messages`, { data });
}
